package com.vehicle_demo.dao;
import com.vehicle_demo.entity.WarningRule;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface WarningRuleDao {
//按照车架和电池类型查寻报警规则
    List<WarningRule> findBatteryTypeByCarId(String battery_type, Integer warnId);

//按照电池类型查找报警规则
    List<WarningRule> findByBatteryType(String battery_type);
}
